n = int(input("请输入要进行计算的整数个数："))
result = 1
for i in range(n):
    num = int(input("请输入乘数："))
    result *= num
print("这", n, "个整数的积为", result)
